import request from '@/config/axios'
// 获取公示公告
export const getPublicAnnouncementListApi = (params: any) => {
    return request.get({ url: '/api/enterprise/companyAnnouncement/list', params })
}
// 公示公告新增
export const addPublicAnnouncementApi = (params: any) => {
    return request.post({ url: '/api/enterprise/companyAnnouncement', data: params })
}
// 公示公告修改
export const editPublicAnnouncementApi = (params: any) => {
    return request.put({ url: '/api/enterprise/companyAnnouncement', data: params })
}
// 公示公告删除
export const deletePublicAnnouncementApi = (params: any) => {
    return request.delete({ url: '/api/enterprise/companyAnnouncement/' + params })
}
// 下载导入模板
export const downloadCompanyAnnouncementImportTemplate = () => {
    return request.get({ url: '/api/enterprise/companyAnnouncement/downloadCompanyAnnouncementImportTemplate'})
}
